do
    v = app.applicationVersion

    debug.print("Version =" ,v)

    app:setStyleSheet("QWidget { background-color: black; }")

    app.styleSheet = "QWidget { background-color: green; }"

    window.size = QSize.newSize(320, 240)

    local dt = QDateTime.currentDateTime()

    debug.print(tostring(dt))
    debug.print(dt:toString())

    debug.print("valid = ", dt:isValid())

    local dd = dt:addDays(5)

    debug.print(dd:toString())

    debug.print(dt:secsTo(dd))
end

collectgarbage()

local r = QRect.newRect(10,10,128,128)

local l = QLineF.newLine(10,10,100,100)

debug.print("p1 =", l.p1.x, l.p1.y)
debug.print("p2 =", l.p2.x, l.p2.y)

collectgarbage()
